import * as mdi from '@quasar/extras/mdi-v7';

// 常用图标映射
const iconMap: { [props: string]: string } = {
  // 常用图标
  home: mdi.mdiHome,
  dashboard: mdi.mdiPaletteOutline,
  menu: mdi.mdiMenu,
  plus: mdi.mdiPlusCircleOutline,
  delete: mdi.mdiDeleteOutline,
  edit: mdi.mdiSquareEditOutline,
  save: mdi.mdiContentSaveOutline,
  search: mdi.mdiMagnify,
  download: mdi.mdiDownloadOutline,
  excel: mdi.mdiFileExcelOutline,
  close: mdi.mdiClose,
  calendar: mdi.mdiCalendar,

  // 菜单图标
  'mdi-home': mdi.mdiHomeOutline,
  'mdi-home-outline': mdi.mdiHomeOutline,
  'mdi-account-outline': mdi.mdiAccountOutline,
  'mdi-account-supervisor-outline': mdi.mdiAccountSupervisorOutline,
  'mdi-menu': mdi.mdiMenu,
  'mdi-account-group-outline': mdi.mdiAccountGroupOutline,
  'mdi-monitor': mdi.mdiMonitor,
  'mdi-book-outline': mdi.mdiBookOutline,
  'mdi-cog-outline': mdi.mdiCogOutline,
  'mdi-file-tree-outline': mdi.mdiFileTreeOutline,
  'mdi-chart-bar-stacked': mdi.mdiChartBarStacked,
  'mdi-square-edit-outline': mdi.mdiSquareEditOutline,
  'mdi-file-cabinet': mdi.mdiFileCabinet,
  'mdi-database-search-outline': mdi.mdiDatabaseSearchOutline,
  'mdi-account-search-outline': mdi.mdiAccountSearchOutline,
  'mdi-format-list-numbered': mdi.mdiFormatListNumbered,
  'mdi-format-list-numbered-rtl': mdi.mdiFormatListNumberedRtl,
  'mdi-database-cog-outline': mdi.mdiDatabaseCogOutline,
  'mdi-family-tree': mdi.mdiFamilyTree,
  'mdi-human-queue': mdi.mdiHumanQueue,
  'mdi-city': mdi.mdiCity,
  'mdi-home-city': mdi.mdiHomeCity,
  'mdi-home-group': mdi.mdiHomeGroup,
  'mdi-office-building': mdi.mdiOfficeBuilding,
  'mdi-office-building-outline': mdi.mdiOfficeBuildingOutline,
  'mdi-calendar': mdi.mdiCalendar,
  'mdi-order-bool-descending-variant': mdi.mdiOrderBoolDescendingVariant,
  'mdi-border-color': mdi.mdiBorderColor,
  'mdi-reorder-vertical': mdi.mdiReorderVertical,
  'mdi-chart-bar': mdi.mdiChartBar,
  'mdi-account-multiple': mdi.mdiAccountMultiple,
};

export default iconMap;
